package com.baosight.risk.api.rire;

import com.baosight.risk.base.service.BaseService;
import com.baosight.risk.service.riim.entity.RiimRiskImport;
import com.baosight.risk.service.rire.entity.RireRiskWarningStatus;
import com.baosight.risk.service.zbaa.entity.ZbaaTarget;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RiwaRiskWaringService extends BaseService<RiimRiskImport> {
    /**
     * 普通模型计算
     */
    RireRiskWarningStatus generalModelCalculate(String reportId) throws Exception;

    /**
     * 根据年度重点风险找到披露报告重的符合条件的指标
     *
     * @param acctYaer   年度
     * @param compCode   组织结构
     * @param targetType 指标类型
     * @return
     */
    List<ZbaaTarget> getTargetByImport(String acctYaer, String compCode, String targetType);
}
